<template>
  <div class="wrapper">
    <swiper :options="swiperOption">
      <swiper-slide>Slide 1</swiper-slide>
      <swiper-slide>Slide 2</swiper-slide>
      <swiper-slide>Slide 3</swiper-slide>
      <swiper-slide>Slide 4</swiper-slide>
      <swiper-slide>Slide 5</swiper-slide>
      <div class="swiper-pagination" slot="pagination"></div>
    </swiper>
  </div>
</template>

<script>
export default {
  data: function () {
    return {
      swiperOption: {
        pagination: '.swiper-pagination',
      },
    };
  },
};
</script>

<style scoped>
.wrapper {
  width: 500px;
  height: 150px;
  border: 1px solid #000;
  margin: 50px auto;
}

.wrapper .swiper-container {
  height: 100%;
}

.wrapper .swiper-pagination-bullet-active {
  background: orange !important;
}
</style>
